this._overview._delegate = this;
this._group = new St.BoxLayout({ name: 'overview-group',
+ reactive: true,
clip_to_allocation: true });
this._backgroundGroup = new Meta.BackgroundGroup();
Main.xdndHandler.connect('drag-end', Lang.bind(this, this._onDragEnd));
global.screen.connect('restacked', Lang.bind(this, this._onRestacked));
+ this._group.connect('scroll-event', Lang.bind(this, this._onScrollEvent));
this._windowSwitchTimeoutId = 0;
this._windowSwitchTimestamp = 0;
return DND.DragMotionResult.CONTINUE;
},
+ _onScrollEvent: function(actor, event) {
+ this.emit('scroll-event', event);
+ },
+
addAction: function(action) {
if (this.isDummy)
return;